<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
    <head>
        <title>Get code . . .</title>
        <link href="WEB-SRC/style.css" type="text/css" rel="stylesheet" media="all">
    </head>
    <body>
        <c:set var="lstCurrency" value="${requestScope.lstCurrency}" />
        <div id="wrapper">
            <div id="header"></div>
            <div id="content">
                <div id="sidebar"></div>
                <div id="primary">
                    <div id="get-code">
                        <h1>get code</h1>
                        <form id="frmGetCode" name="frmGetCode" action="GetcodeController" method="post">
                            <div>pay to</div>
                            <div>
                                <input type="text" id="payTo" name="payTo" value="" />
                            </div>
                            <div>value</div>
                            <div>
                                <input type="text" id="value" name="value" value="" />
                                <select id="selectVal" name="selectVal">
                                    <c:if test="${not empty lstCurrency}">
                                        <c:forEach var="element" items="${lstCurrency}">
                                            <option value="${element.currencyId}">${element.currencyName}</option>
                                        </c:forEach>
                                    </c:if>
                                </select>
                            </div>
                            <div>description</div>
                            <div>
                                <textarea id="txtDes" name="txtDes"></textarea>
                            </div>
                            <div>
                                <input type="submit" id="subGetCode" name="action" value="get code" />
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div id="footer"></div>
        </div>
    </body>
</html>
